//go:build admin || ignore || all
// +build admin ignore all

package domain

import (
	"context"

	"gitee.com/linxing_3/sr-core/domain"
	"gitee.com/mkwchecking/sr-admin/apps/session"
)

func init() {
	RegisterDomainInject(&DomainInject{
		Name:        "session",
		Description: "会话服务,提供登录,登出等功能",
		Factory: func(ctx context.Context) domain.IDomain {
			return session.NewSessionDomain()
		},
	})
}
